package com.quick.job;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

import java.util.Date;

/**
 * @ClassName TestQuartz
 * @Description TODO
 * @Author wangxin332
 * @Date 2018/10/1 下午8:56
 * @Version 1.0
 **/
public class TestQuartz extends QuartzJobBean {
	@Override
	protected void executeInternal(JobExecutionContext jobExecutionContext) throws JobExecutionException {
		System.out.println("quartz task "+new Date());
	}
}
